{* Template Name:文章页文章内容 *}

<div class="jumbotron border-bottom">
  <div class="container">
    <h1 class="title-h1 mb-4">{$article.Title}</h1>
    <p class="tools text-right">
      {if count($article.Tags)>0}
        {foreach $article.Tags as $i => $tag}
          <a href="{$tag.Url}" title="{$tag.Name}" target="_blank"><span class="badge badge-pill badge-warning">{$tag.Name}</span></a>
        {/foreach}
      {/if}
    </p>
  </div>
</div>


<div class="container">
  <div class="row">
    <div class="col-lg-8">
      <article class="pb-5 mb-5" id="post-{$article.ID}">
        <div class="row">
          <div class="d-none d-md-block col-md-3 pr-4">
            <div class="calendar-box"><p class="calendar">{$article.Time('d')}<em>{$article.Time('F')}</em></p></div>
            <p class="border-bottom"><span class="float-right">{$article.Time('g:i A')}</span><span class="oi oi-clock"></span></p>
            <p class="border-bottom"><span class="float-right"><a href="{$article.Url}">{$article.ViewNums} 次浏览</a></span><span class="oi oi-eye"></span></p>
            <p class="border-bottom"><span class="float-right"><a href="{$article.Url}#comment">{$article.CommNums} 条评论</a></span><span class="oi oi-comment-square"></span></p>
          </div>
          <div class="col-md-9 single-text">
            <nav class="breadcrumb mb-4">
              <a class="breadcrumb-item" href="{$host}">首页</a>
              <a class="breadcrumb-item" href="{$article.Category.Url}" title="{$article.Category.Name}">{$article.Category.Name}</a>
              <span class="breadcrumb-item active">正文</span>
            </nav>
            {$article.Content}
            {if !$article.IsLock}
              {template:comments}
            {/if}
          </div>
        </div>
      </article><!-- {$article.ID} End -->
    </div><!-- col-lg-8 END -->
    <aside class="d-none d-lg-block col-lg-3 offset-lg-1">
      {template:sidebar2}
    </aside>
  </div><!-- row END -->
</div><!-- container END -->